package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ControlPoint implements Trans<ControlPoint, CompleteEntity.ControlPoint> {

    /**
     * 设置最大亮度百分比
     */
    private Integer maxPercent;

    /**
     * 默认为100
     */
    private Integer maxAdjustValue;

    /**
     * 折线中间点亮度百分比
     */
    private Integer midPercent;

    /**
     * 折线中间点亮度值
     */
    private Integer midAdjustValue;

    /**
     * 设置最小亮度百分比
     */
    private Integer minPercent;

    /**
     * 默认为0
     */
    private Integer minAdjustValue;
}

